﻿@using Web7.Container.Localization
@model LocaleStringResource
@using (Html.BeginForm())
{
    <div>
        <div>
            @T("Admin.Configuration.Languages.AddNew") @Html.ActionLink("(" + T("Admin.Configuration.Languages.BackToList") + ")", "Resources")
        </div>
       
        <table>
             @Html.ValidationSummary(true)
            <tr>
                <td>
                    @T("Admin.Language.Model.Name"):
                </td>
                <td>
                    @Html.EditorFor(model => model.ResourceName)
                    @Html.ValidationMessageFor(model => model.ResourceName)
                </td>
            </tr>
            <tr>
                <td>
                    @T("Admin.Language.Model.LanguageCulture"):
                </td>
                <td>
                    @Html.EditorFor(model => model.ResourceValue)
                    @Html.ValidationMessageFor(model => model.ResourceValue)
                </td>
            </tr>
        </table>
        <div>
            <button type="submit" name="save" value="save-continue">@T("Admin.Common.SaveContinue")</button>
        </div>
    </div>
 
   
}